import request from "@/utils/request";

// 查询临时督办列表
export function listBizLinshiManage(query) {
  return request({
    url: "/biz/bizLinshiManage/list",
    method: "get",
    params: query,
  });
}

// 查询临时督办详细
export function getBizLinshiManage(id) {
  return request({
    url: "/biz/bizLinshiManage/" + id,
    method: "get",
  });
}

// 新增临时督办
export function addBizLinshiManage(data) {
  return request({
    url: "/biz/bizLinshiManage",
    method: "post",
    data: data,
  });
}
// 发布
export function fabuBizLinshiManage(data) {
  return request({
    url: "/biz/bizLinshiManage/fabu",
    method: "post",
    data: data,
  });
}
// 修改临时督办
export function updateBizLinshiManage(data) {
  return request({
    url: "/biz/bizLinshiManage",
    method: "put",
    data: data,
  });
}

// 删除临时督办
export function delBizLinshiManage(id) {
  return request({
    url: "/biz/bizLinshiManage/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizLinshiManage/findMaxSort",
    method: "get",
  });
}
// 导出临时督办
export function exportBizLinshiManage(query) {
  return request({
    url: "/biz/bizLinshiManage/export",
    method: "get",
    params: query,
  });
}

// 查询最大编号
export function getUUID() {
  return request({
    url: "/biz/bizLinshiManage/getUUID",
    method: "get",
  });
}
